home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 126-150 / disk_147 / sys / sysv / sysv.zoo / sysdef.h < prev    next >
C/C++ Source or Header  |  1988-07-25  |  1KB  |  31 lines

  1. /*
  2.  *        System V system header file
  3.  */
  4. #include <stdio.h>
  5.  
  6. #define    KBLOCK    8192            /* Kill grow.            */
  7. #define    GOOD    0            /* Good exit status.        */
  8. #define    MAXPATH    256            /* Maximum length of path for chdir */
  9.  
  10. typedef long    RSIZE;            /* Type for file/region sizes    */
  11. typedef short    KCHAR;            /* Type for internal keystrokes    */
  12.  
  13. /*
  14.  * Macros used by the buffer name making code.
  15.  * Start at the end of the file name, scan to the left
  16.  * until BDC1 (or BDC2, if defined) is reached. The buffer
  17.  * name starts just to the right of that location, and
  18.  * stops at end of string (or at the next BDC3 character,
  19.  * if defined). BDC2 and BDC3 are mainly for VMS.
  20.  */
  21. #define    BDC1    '/'            /* Buffer names.        */
  22.  
  23. #define MALLOCROUND(m)    (m+=7,m&=~7)    /* round up to 8 byte boundry    */
  24.  
  25. #define    fncmp        strcmp        /* file name comparison        */
  26. #define bcopy(s,d,n)    memcpy(d,s,n)    /* memory-to-memory copy    */
  27. char *getenv();
  28. #define    gettermtype()    getenv("TERM")    /* determine terminal type    */
  29. char *getcwd();
  30. #define getwd(cwd)    getcwd(cwd,NFILEN) /* get current working dir    */
  31.